package com.felix.repository;import com.felix.entity.SysUser;import org.springframework.data.jpa.repository.JpaRepository;import org.springframework.stereotype.Repository;@Repositorypublic interface SysUserRepository  extends JpaRepository<SysUser, Long>{    /**     * 根据用户名查用户     * @param username     * @return     */    SysUser findByUsername(String username);}